package com.hrp.analyzer.core.model;

import java.io.Serializable;

/**
 * 全局默认参数
 *
 * @author hrp
 * @date 2021/4/26 17:40
 */

public class Params implements Serializable {
    /**
     * 是否启动动态网页
     */
    private Boolean dynamic;
    /**
     * 启用代理
     */
    private Boolean enabledProxy;
    /**
     * 自定义Cookie
     */
    private String cookie;
    /**
     * 自定义UA
     */
    private String userAgent;
    /**
     * 自动添加防盗链
     */
    private Boolean autoReferer;

    public Boolean getDynamic() {
        return dynamic;
    }

    public Params setDynamic(Boolean dynamic) {
        this.dynamic = dynamic;
        return this;
    }

    public Boolean getEnabledProxy() {
        return enabledProxy;
    }

    public Params setEnabledProxy(Boolean enabledProxy) {
        this.enabledProxy = enabledProxy;
        return this;
    }

    public String getCookie() {
        return cookie;
    }

    public Params setCookie(String cookie) {
        this.cookie = cookie;
        return this;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public Params setUserAgent(String userAgent) {
        this.userAgent = userAgent;
        return this;
    }

    public Boolean getAutoReferer() {
        return autoReferer;
    }

    public Params setAutoReferer(Boolean autoReferer) {
        this.autoReferer = autoReferer;
        return this;
    }
}
